projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4aebae
)
(x_build_heuristic_mask): Filter palette info from color.
author
Jason Rumney
<jasonr@gnu.org>
Mon, 18 Nov 2002 20:16:39 +0000
(20:16 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Mon, 18 Nov 2002 20:16:39 +0000
(20:16 +0000)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 7037493e3a1df350312d521120251657445afbdb..ab2e5237c619b5453c18f22e2de4e37d5c7fe320 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-11061,7
+11061,8
@@
x_build_heuristic_mask (f, img, how)
{
char color_name[30];
sprintf (color_name, "#%04x%04x%04x", rgb[0], rgb[1], rgb[2]);
- bg = x_alloc_image_color (f, img, build_string (color_name), 0);
+ bg = x_alloc_image_color (f, img, build_string (color_name), 0)
+ & 0xffffff; // Filter out palette info.
use_img_background = 0;
}
}